<!DOCTYPE html>
<html lang="zh-CN" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>sheet小工具</title>
    <link rel="icon" type="image/x-icon" href="/favicon.ico">
</head>
<body>
文件地址：<input type="text" id="address"/></br>
<input type="button" onclick="read()" value="读取sheet"/> <span id="msg0"></span></br>
<input type="button" onclick="change()" value="改变sheet"/> <span id="msg1"></span></br>
</body>
<script type="text/javascript" src="/js/jquery-3.6.0.min.js"></script>
<script type="text/javascript">
    function read() {
        $.get("/read", {address: $('#address').val()}, function (data) {
            alert(data)
            $('#msg0').html(data)

        });
    };

    function change() {
        $.get("/change", {address: $('#address').val()}, function (data) {
            alert(data)
            $('#msg1').html(data)

        });
    };
</script>
</html>
